package com.ljh.seckill.service;

import com.ljh.seckill.entity.Order;
import com.ljh.seckill.entity.Resource;

/**
 * @Author grung
 * @Date 2021/2/22 17:44
 * @Version 1.0
 */

public interface OrderService {

    Resource findResourceById(String resourceId);

    Order findOrderById(String orderId);

    Order createOrder(String orderId,String resourceId);

    Boolean cancelOrder(String orderId);
}
